14a5b6d44d1c4832543c681574eef9c6322d0984,storage/src/main/java/com/linkedpipes/etl/storage/pipeline/PipelineUpdate.java,PipelineUpdate,updateTemplates,#Collection#TemplateFacade#MappingFacade#,277
Before Change
// Translate IRI.
final String templateIri = mapping.map(templateInfo.getIri());
// Check if we know the template, if so we can continue.
if (templateFacade.getTemplate(templateIri) != null) {
continue;
}
// We import the hierarchy from the top, so for every
After Change
// Translate IRI.
final String templateIri = mapping.map(templateInfo.getIri());
// Check if we know the template.
final Template localTemplate = templateFacade.getTemplate(
templateIri);
if (localTemplate != null) {
if (updateExisting) {
LOG.info("updating: {}", templateIri);